package com.zlc.workflow.flow.node;


import com.zlc.workflow.constant.NodeType;

/**
 * 结束节点
 *
 * @author zhanglei
 */
public class EndNode extends BaseNode {


    public EndNode(String nodeId,String nodeNum, String nodeName) {
        super(nodeId,nodeNum, nodeName);
        this.nodeType = NodeType.END;
    }

    public void build(){
        //构建路线
        buildPaths(now);
        //构建节点指针
        createNodePointer();
    }
}
